﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TIENITCodeGener
{
    public partial class frmMsg : Form
    {

#region "Constructor"
        public frmMsg()
        {
            InitializeComponent();
            ITFACommon.SetFormIcon(this);
        }
#endregion

#region "Form Events"
        private void frmMsg_Load(object sender, EventArgs e)
        {

        }

        private void frmMsg_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Escape)
            {
                this.Close();
            }

        }
#endregion

#region "Common Functions"
        public void Show_Dialog(string msg)
        {
            txt_Result.Text = msg;
            this.ShowDialog();
        }
#endregion

    }
}
